package cn.enaium.message.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;

@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
public class Muser {
    @Id
    private Long uid;
    private String name;
    private String email;
    private String password;
    public boolean NotMuser(){
        return uid == null;
    }

}
